<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1.0">
    <title>myvue-3</title>
  </head>
  <body>
    <div id="app"></div>
    <input type="button" onclick="stop()">
    <script src="./1.js"></script>
    <script>
      
      let b= new a(0);
      let time1=  setInterval(s,1000);
        function s()
        {
         b.run("s1");
        }
        let c= new a(1);
        let time2=  setInterval(s2,100);
        function s2()
        {
        c.run("s2");
        }

        function stop()
        {
            clearInterval(time1);
            clearInterval(time2);

        }



    </script>
    <!-- built files will be auto injected -->
  </body>
</html>
